package com.usefullc.blog.param;
import com.usefullc.common.domain.BaseDomain;
import com.usefullc.common.enums.ValidTypeEnum;
import com.usefullc.system.validator.UsefulPropertyVerify;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 文章点赞参数实体
 * @author: 星空
 * @date: 2022-07-12
 */
@ApiModel
@Data
public class ArticleLikeParam extends BaseDomain {

//useful_auto_generate_section_start

    @UsefulPropertyVerify(required=true)
    @ApiModelProperty(notes = "ID")
    private Long id;

    @UsefulPropertyVerify(required=true)
    @ApiModelProperty(notes = "文章")
    private Long articleId;

    @UsefulPropertyVerify(required=true)
    @ApiModelProperty(notes = "点赞用户")
    private Long userId;

    @UsefulPropertyVerify(minLen=2, maxLen=32)
    @ApiModelProperty(notes = "点赞IP")
    private String ip;

    @UsefulPropertyVerify(min=-2147483648, max=2147483647)
    @ApiModelProperty(notes = "点赞状态")
    private Integer status;


//useful_auto_generate_section_end

}
